<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>   

<div class="head">
    <div class="wrapper clearfix">
        <div class="clearfix" id="top"><h1 class="fl"><a href="index.html"><img src="${pageContext.request.contextPath}/img/logo.png"/></a></h1>
            <div class="fr clearfix" id="top1"><p class="fl">
            	<c:if test="${user ==null }">
            		<a href="/user/login" id="login">用户登录</a><a href="/merchant/login" id="reg">商家登录</a>
            	
            	</c:if>
            	
            	<c:if test="${user !=null }">
            		<b>你好：</b><a href="login.jsp" id="login">${user.username }</a>
            	
            	</c:if>
            	
            	<c:if test="${user!=null }">
            		<a href="/user/userInformation" id="login1">进入后台</a>
            	
            	</c:if>
            </p>

                <div class="btn fl clearfix"><a href="mygxin.jsp"><img src="${pageContext.request.contextPath}/img/grzx.png"/></a><a href="#" class="er1"><img
                        src="${pageContext.request.contextPath}/img/ewm.png"/></a>
                      <c:if test="${isLogin ==1 }">  
                        <a href="cart.html"><img src="${pageContext.request.contextPath}/img/gwc.png"/></a>
                       </c:if> 
                        
                    <p><a href="#"><img src="${pageContext.request.contextPath}/img/smewm.png"/></a></p></div>
            </div>
        </div>
        <ul class="clearfix" id="bott">
            <li><a href="/index">首页</a></li>
            <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/user/userInformation">用户管理</a></li>
        </ul>
    </div>
</div>